<?php
class Booking extends Orm{
	
	function __construct(){
		$table_name = "bookings";
		parent::__construct($table_name);
		
		$this->related_to_table_by_field_name("customers", "cid");
		$this->related_to_table_by_field_name("units", "uid");
	}
}
?>